
<div class="map-com">
    <span class="sline"></span>
    <span class="text">地理坐标定位</span>
</div>

<form nz-form>
    <nz-form-item class="item" style="margin-bottom: 10px;">
        <input type="text" name="dlx" [(ngModel)]="dlx" class="first-input1 fm-input2" nz-input placeholder="X坐标值" />
    </nz-form-item>
    <nz-form-item class="item" style="margin-bottom: 10px;">
        <input type="text" name="dly" [(ngModel)]="dly" class="first-input1 fm-input2" nz-input placeholder="Y坐标值" />
    </nz-form-item>
    <nz-form-item class="item tc first-input2" style="margin-bottom: 10px;text-align: center;">
        <button nz-button [nzType]="'primary'" class="button" (click)="localByCoordinate('dl')">定位</button>
    </nz-form-item>
</form>

<div class="map-com">
    <span class="sline"></span>
    <span class="text">平面坐标定位</span>
</div>
<form nz-form >
    <nz-form-item class="item" style="margin-bottom: 10px;">
        <input type="text" name="tyx" [(ngModel)]="tyx" class="first-input1 fm-input2" nz-input placeholder="X坐标值" />
    </nz-form-item>
    <nz-form-item class="item" style="margin-bottom: 10px;">
        <input type="text" name="tyy" [(ngModel)]="tyy" class="first-input1 fm-input2" nz-input placeholder="Y坐标值" />
    </nz-form-item>
    <nz-form-item class="item tc first-input2" style="margin-bottom: 10px;text-align: center;">
        <button nz-button [nzType]="'primary'" class="button" (click)="localByCoordinate('ty')">定位</button>
    </nz-form-item>
</form>